<html>
<head><meta charset="utf-8"><title>cargo +stage1 -Zbuild-std · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/cargo.20.2Bstage1.20-Zbuild-std.html">cargo +stage1 -Zbuild-std</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="218329747"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/cargo%20%2Bstage1%20-Zbuild-std/near/218329747" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/cargo.20.2Bstage1.20-Zbuild-std.html#218329747">(Nov 30 2020 at 18:59)</a>:</h4>
<p>What steps should I take to use -Zbuild-std with stage1 compiler? This used to "just work", but this is no longer the case since vendoring changes from <a href="https://github.com/rust-lang/cargo/pull/8834">https://github.com/rust-lang/cargo/pull/8834</a>.</p>



<a name="218330534"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/cargo%20%2Bstage1%20-Zbuild-std/near/218330534" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/cargo.20.2Bstage1.20-Zbuild-std.html#218330534">(Nov 30 2020 at 19:04)</a>:</h4>
<p>Previously I was doing something along the lines of:</p>
<div class="codehilite"><pre><span></span><code>./x.py build
rustup toolchain link stage1 build/x86_64-unknown-linux-gnu/stage1
cargo +stage1 -Zbuild-std run --target x86_64-unknown-linux-gnu
</code></pre></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>